package com.yixin.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.VisitTemplate;
import com.yixin.hospital.entity.dto.req.visitTemplate.VisitTemplateAddReqDTO;
import com.yixin.hospital.entity.dto.req.visitTemplate.VisitTemplateEditReqDTO;
import com.yixin.hospital.entity.dto.req.visitTemplate.VisitTemplateEditTemplateReqDTO;

/**
* @author Administrator
* @description 针对表【visit_template(就诊模板管理表)】的数据库操作Service
* @createDate 2024-06-30 17:16:38
*/
public interface VisitTemplateService extends IService<VisitTemplate> {
    ApiResult treeList(String templateCode);

    ApiResult add(VisitTemplateAddReqDTO visitTemplateAddReqDTO, String userName);

    ApiResult edit(VisitTemplateEditReqDTO visitTemplateEditReqDTO, String userName);

    ApiResult editTemplateName(VisitTemplateEditTemplateReqDTO visitTemplateEditReqDTO, String userName);

}
